-
Notifications
You must be signed in to change notification settings - Fork 3.3k
feat: agent model dropdown combobox #572
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
Enhanced agent block functionality with variable model inputs through a new ComboBox component, replacing the standard dropdown for more flexible model selection.
- Added new
comboboxSubBlockType inapps/sim/blocks/types.tsenabling searchable dropdown with text input - Implemented ComboBox component in
apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block/components/sub-block/components/combobox.tsxwith search, variable support, and accessibility features - Added error handling in
apps/sim/serializer/index.tsfor tool selection with fallback options - Modified temperature controls in
apps/sim/blocks/blocks/agent.tswith model-specific ranges and improved validation
5 files reviewed, 3 comments
Edit PR Review Bot Settings | Greptile
...aceId]/w/[workflowId]/components/workflow-block/components/sub-block/components/combobox.tsx
Show resolved
Hide resolved
|
✅ No security or compliance issues detected. Reviewed everything up to dee2d50. Security Overview
Detected Code Changes
Reply to this PR with |
794ad9a to
b8a2297
Compare
* fix: package type for esm imports, missing realtime calls and use of migrate * chore: bump cli
* feat(agent): agent model dropdown combobox (#572) * feat: agent model dropdown combobox * fix(cli): package type for esm imports, missing realtime (#574) * fix: package type for esm imports, missing realtime calls and use of migrate * chore: bump cli * fix sourceBlock null check * fix(kb): fix kb navigation URLs * fix(csp): update CSP to allow for google drive picker * feat(dropdown): added optional icon to agent model dropdown --------- Co-authored-by: Aditya Tripathi <aditya@climactic.co> Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-MacBook-Air.local> Co-authored-by: Waleed Latif <walif6@gmail.com> * fix concurrent req check (#576) Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-Air.attlocal.net> --------- Co-authored-by: Emir Karabeg <78010029+emir-karabeg@users.noreply.github.com> Co-authored-by: Aditya Tripathi <aditya@climactic.co> Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-MacBook-Air.local> Co-authored-by: Waleed Latif <walif6@gmail.com> Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-Air.attlocal.net>
* feat(agent): agent model dropdown combobox (simstudioai#572) * feat: agent model dropdown combobox * fix(cli): package type for esm imports, missing realtime (simstudioai#574) * fix: package type for esm imports, missing realtime calls and use of migrate * chore: bump cli * fix sourceBlock null check * fix(kb): fix kb navigation URLs * fix(csp): update CSP to allow for google drive picker * feat(dropdown): added optional icon to agent model dropdown --------- Co-authored-by: Aditya Tripathi <aditya@climactic.co> Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-MacBook-Air.local> Co-authored-by: Waleed Latif <walif6@gmail.com> * fix concurrent req check (simstudioai#576) Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-Air.attlocal.net> --------- Co-authored-by: Emir Karabeg <78010029+emir-karabeg@users.noreply.github.com> Co-authored-by: Aditya Tripathi <aditya@climactic.co> Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-MacBook-Air.local> Co-authored-by: Waleed Latif <walif6@gmail.com> Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-Air.attlocal.net>
Description
Agent blocks can now accept variable inputs for models.
Type of change
How Has This Been Tested?
Pass in a variable that resolves to a model name in the model input.
Checklist:
bun run test)Security Considerations: